/* pages/cart/index.wxss */

page {
    padding-bottom: 90rpx;
}

.revice_address_row{
    //按钮
   .address_btn{
    padding: 20rpx;

    button{
        width: 60%;
    }
   }

   //详细地址
   .user_info_row{
        display: flex;
        padding: 20rpx;

        .user_info{
            flex: 5;
        }
        .user_phone{
            flex: 3;
            text-align: right;
        }
    } 
}

// 购物车内容
.cart_content {
    .cart_title {
        padding: 20rpx;
        font-size: 36rpx;
        color: var(--themeColor);
        border-top: 1rpx solid currentColor;
        border-bottom: 1rpx solid currentColor;
    }
  
    .cart_main {
      .cart_item {
        display: flex;

        padding: 10rpx;
        border-bottom: 1rpx solid #ccc;

        .cart_chk_wrap {
          flex: 1;

          display: flex;
          justify-content: center;
          align-items: center;

          checkbox-group {
            checkbox {
  
            }
          }
        }
  
        navigator.cart_img_wrap {
          flex: 2;

          display: flex;
          justify-content: center;
          align-items: center;

          image {
            width: 80%;
          }
        }
  
        .cart_info_wrap {
          flex: 4;  

          display: flex;
          flex-direction: column;
          justify-content: space-around;
		
          .goods_name {
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            color: #666;
          }
  
          .goods_price_wrap {
            display: flex;
            justify-content: space-between;

            .goods_price {
              color: var(--themeColor);
              font-size: 34rpx;
            }
  
            .cart_num_tool {
              display: flex;

              .num_edit {
                display: flex;
                justify-content: center;
                align-items: center;

                width: 55rpx;
                height: 55rpx;

                border: 1rpx solid #ccc;
              }
  
              .goods_num {
				display: flex;
				justify-content: center;
				align-items: center;
				
				width: 55rpx;
				height: 55rpx;
              }
            }
          }
        }
      }
    }
}

// 底部工具栏
.footer_tool {
    display: flex;

    position: fixed;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 90rpx;

    background-color: #fff;
    border-top: 1rpx solid #ccc;

    // 全选按钮
    .all_chk_wrap {
      flex: 2;  

      display: flex;
      justify-content: center;
      align-items: center;  
    }
  
    // 总价格 
    .total_price_wrap {
      flex: 5;
      padding-right: 15rpx;  
      text-align: right;

      .total_price {
        text.total_price_text {
            color: var(--themeColor);
            font-size: 34rpx;
            font-weight: 600;
        }
      }
    }
  
    // 结算按钮 
    .order_pay_wrap {
        flex: 3;

        display: flex;
        justify-content: center;
        align-items: center;

        background-color: var(--themeColor);
        color: #fff;
        font-size: 32rpx;
        font-weight: 600;
    }
}

